package com.ihr360.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ihr薪资数据迁移用到的对象
 * @author richey
 */
public class IrsStaffSalaryProfile implements Serializable {
    private static final long serialVersionUID = 2325591788343960476L;

    private String staffId;

    private String companyId;

    private String userId;

    private String userName;

    private Date oldValueEffectiveAt;

    private Date newValueEffectiveAt;

    private BigDecimal oldValue;

    private BigDecimal newValue;

    public IrsStaffSalaryProfile() {
    }


    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public BigDecimal getOldValue() {
        return oldValue;
    }

    public void setOldValue(BigDecimal oldValue) {
        this.oldValue = oldValue;
    }

    public BigDecimal getNewValue() {
        return newValue;
    }

    public void setNewValue(BigDecimal newValue) {
        this.newValue = newValue;
    }

    public Date getOldValueEffectiveAt() {
        return oldValueEffectiveAt;
    }

    public void setOldValueEffectiveAt(Date oldValueEffectiveAt) {
        this.oldValueEffectiveAt = oldValueEffectiveAt;
    }

    public Date getNewValueEffectiveAt() {
        return newValueEffectiveAt;
    }

    public void setNewValueEffectiveAt(Date newValueEffectiveAt) {
        this.newValueEffectiveAt = newValueEffectiveAt;
    }

    @Override
    public String toString() {
        return "IrsStaffSalaryProfile{" +
                "staffId='" + staffId + '\'' +
                ", companyId='" + companyId + '\'' +
                ", oldValueEffectiveAt=" + oldValueEffectiveAt +
                ", newValueEffectiveAt=" + newValueEffectiveAt +
                ", oldValue=" + oldValue +
                ", newValue=" + newValue +
                '}';
    }
}
